#import <Foundation/Foundation.h>

#import <Cordova/CDV.h>
#import <Cordova/CDVPlugin.h>
#import "WXApi.h"

@interface WechatPlugin : CDVPlugin <WXApiDelegate>

- (void)login:(CDVInvokedUrlCommand*)command;
- (void)share:(CDVInvokedUrlCommand*)command;
- (void)pay:(CDVInvokedUrlCommand*)command;

- (void)backToJs:(NSString *)code;

@end
